home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2004 #9
/
Amiga Plus CD - 2004 - No. 09.iso
/
amigaplus
/
tools
/
amigaos4_only
/
ifxlite
/
imagefx3
/
rexx
/
browser
/
editimage.browse
< prev
Wrap
Text File
|
2004-08-03
|
724b
|
40 lines
/*
* ImageFX Browser Script
*
* All browser scripts are called as follows:
*
* ScriptName.browse <numfiles> <filelist>
*
* Where:
*
* <numfiles> = Number of files selected (could be 0).
* <filelist> = File containing the list of files selected,
* one file per line, with full pathname.
*
* EditImage.browse:
*
* Load the first image supplied into ImageFX; bring ImageFX to
* the front.
*
*/
OPTIONS RESULTS
PARSE ARG numfiles filelist .
IF numfiles > 0 THEN DO
Screen2Front
IF OPEN(infile, filelist, 'Read') THEN DO
curfile = READLN(infile)
LoadBuffer '"'curfile'"' FORCE
Uniconify
CALL CLOSE(infile)
END
EXIT 0